import {defineStore} from "pinia";

interface Message {
    role: string,
    content: string
}
export const useAIStore = defineStore('aiStore', {
    state: () => {
        return {
            isOpen: false,
            history: [] as Message[],
        }
    },
    persist: true
})